Skip to content

docs: add endpoint for opting out phone numbers in SNS v2#434

Open
quetzalliwrites wants to merge 2 commits intomainfrom
docs-sns-phone-opt-out
Open

docs: add endpoint for opting out phone numbers in SNS v2#434
quetzalliwrites wants to merge 2 commits intomainfrom
docs-sns-phone-opt-out

Conversation

@quetzalliwrites
Copy link
Collaborator

@quetzalliwrites quetzalliwrites commented Feb 13, 2026

Resolves:
DOC-48

@quetzalliwrites quetzalliwrites self-assigned this Feb 13, 2026
@quetzalliwrites quetzalliwrites added documentation Improvements or additions to documentation aws labels Feb 13, 2026
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 13, 2026

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ebe2e72
Status: ✅  Deploy successful!
Preview URL: https://44472d2c.localstack-docs.pages.dev
Branch Preview URL: https://docs-sns-phone-opt-out.localstack-docs.pages.dev

View logs

@quetzalliwrites
Copy link
Collaborator Author

@baermat @bentsku waiting for a review from min 1 eng service owner

Copy link
Member

@baermat baermat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly goot to me! I have a couple of suggestions which would be nice to get in, and then we are set 🎉

:::note
* This endpoint is intended for **local testing only**.
* The opt-out list is stored per account.
* Adding the same phone number multiple times is safe. Internally, phone numbers are stored in a set, so duplicate entries are ignored.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest the following

Suggested change
* Adding the same phone number multiple times is safe. Internally, phone numbers are stored in a set, so duplicate entries are ignored.
* Adding the same phone number multiple times is idempotent.

The set part provides a bit too much internal information in my opinion, which might also change at some point



### Phone opt-outs

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I would move this to the end of the endpoints section, because it is the least likely one to be used. We really only have this for completeness' sake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants